java filter array by even numbers

49

java filter array by even numbers -

function even(t) {
    return t.filter(function(x){ return x % 2 == 0; });
}

Comments

Submit
0 Comments